#include "stdafx.h"
#include "CUISystem.h"
#include "CImage.h"

CUISystem::CUISystem()
{

}
CUISystem::~CUISystem()
{

}

IImage * CUISystem::CreateImageFromFile(const char_16 * szImage)
{
	return CreateImage2DFromFile(szImage);
}

IImage2D * CUISystem::CreateImage2DFromFile(const char_16 * szImage)
{
	CImage * pImage = new CImage();
	if(pImage)
		pImage->LoadFromFile(szImage);
	return pImage;
}
